(struct fringe_bitmap): Change member bits from char to
authorKim F. Storm <storm@cua.dk>
Fri, 13 Feb 2004 23:28:52 +0000 (23:28 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 13 Feb 2004 23:28:52 +0000 (23:28 +0000)
commit2bc2f480c57f893a89451f463b0187beb9ef7b20
tree2f6c2805a49d858cedf72f368b62760e65b552ac
parent0ca250a79f5973f2d16192bce422fd658c8edfda
(struct fringe_bitmap): Change member bits from char to
short to facilitate 16 bits wide bitmaps.  Modify all standard
bitmaps accordingly.
(BYTES_PER_BITMAP_ROW, STANDARD_BITMAP_HEIGHT): New macros.
(FRBITS): Use STANDARD_BITMAP_HEIGHT instead of just sizeof.
(draw_fringe_bitmap): Ditto.
(init_fringe_bitmap) [MAC_OS]: Don't bitswap.
(init_fringe_bitmap) [HAVE_X_WINDOWS]: Enhance bitswapping to
handle up to 16 bits wide bitmaps.
(Fdefine_fringe_bitmap): Doc fix.  Handle wider bitmaps.
src/fringe.c